package cn.yunyichina.provider.merchant.service.impl;

import cn.yunyichina.provider.iface.entity.common.Response;
import cn.yunyichina.provider.merchant.entity.MerchantConfig;
import cn.yunyichina.provider.merchant.entity.MerchantMessage;
import cn.yunyichina.provider.merchant.entity.MethodRouter;
import cn.yunyichina.provider.merchant.service.DefaultService;
import cn.yunyichina.utils.log.Log;
import cn.yunyichina.utils.log.constant.LogScene;
import org.springframework.stereotype.Service;

/**
 * Created by kevin on 2017/12/7.
 */
@Service("defaultServiceImpl")
public class DefaultServiceImpl implements DefaultService {

    @Override
    public Response notifyPayedOrder(MerchantConfig merchantConfig, MethodRouter methodRouter, MerchantMessage merchantMessage) {
        Response response=new Response();
        response.setResultCodeAndMessage("0","成功");

        String methodName=this.getClass().getName();
        Log.i(LogScene.MERCHANT,methodName);

        return response;
    }
}
